import javax.jws.soap.SOAPBinding;
import java.io.*;
import java.net.Socket;
import java.util.Scanner;

/**
 * Created by PZhang on 2015/8/27.
 */
public class ClientInstance {
    public static void main(String[] args) {
        try {
            Socket socket = new Socket("localhost",9001);
            new Thread(new InputThread(socket)).start();
            new Thread(new OutThread(socket)).start();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
